home *** CD-ROM | disk | FTP | other *** search
/ GameSpot.it / GameSpot Italia (2001).bin / demo / severancedemo / data1.cab / Program_Files / Maps / Ragnar_M2 / InicioScene.py < prev    next >
Text File  |  2000-10-13  |  2KB  |  87 lines

  1. from math import pow
  2. import Bladex
  3. import GameText
  4. import Torchs
  5. import Scorer
  6. import EnemyTypes
  7. import Raster
  8. import pocimac
  9. import Scorer
  10. import AuxFuncs
  11.  
  12. AuxFuncs.SingleFrameFade()
  13. Scorer.SetVisible(0)
  14.  
  15. GameText.SetLanguage("Spanish")
  16.  
  17.  
  18. ##caballero traidor 2 en mazmorras 
  19.  
  20. Espadaromana=Bladex.CreateEntity("RagnarEspadaromana2","Gladius",0,0,0)
  21. Espadaromana.Weapon=1
  22. Breakings.SetBreakableWS("RagnarEspadaromana2")
  23. escudo=Bladex.CreateEntity("RagnarEsc2kgt","Escudo5",0,0,0)
  24. Sparks.MakeShield("RagnarEsc2kgt")
  25. Breakings.SetBreakableWS("RagnarEsc2kgt")
  26. potion=Bladex.CreateEntity("Kngtant2Potion","PocimaTodo",0,0,0)
  27. potion.Static=0
  28. potion.Solid=1
  29. potion.Scale=1.220190
  30. pocimac.CreatePotion("Kngtant2Potion")
  31.  
  32. o=Bladex.CreateEntity("Kngtant2","Antorcha",0,0,0)
  33. o.Static=0
  34. o.FiresIntensity=[ 5 ]
  35. o.Lights=[ (15.000000,0.031250,(255,196,128)) ]    
  36. Torchs.SetUsable("Kngtant2",3,3,20)
  37.  
  38.  
  39. pers=Bladex.CreateEntity("2kngt","Knight_Traitor",-98100, 1000, 70200,"Person")
  40. pers.Angle=3.7
  41. pers.Level=0
  42. #pers.ActionAreaMin=pow(2,0)
  43. #pers.ActionAreaMax=pow(2,1)
  44. EnemyTypes.EnemyDefaultFuncs(pers)
  45. Actions.TakeObject(pers.Name,"Kngtant2")
  46. Actions.TakeObject(pers.Name,"Kngtant2Potion")
  47. pers.Blind=1
  48. pers.Deaf=1
  49.  
  50. #AniSound.AsignarSonidosCaballeroTraidor('2kngt')
  51.  
  52. #pers.AddBayPoint=-98100, 1000, 70200
  53. #pers.AddBayPoint=-93051.8141374, 932.947014954, 71237.154
  54. #pers.AddBayPoint=-85890.8616155, 932.604150047, 71641.050
  55. #pers.AddBayPoint=-77306.4370715, 930.238760653, 71144.891
  56. #pers.AddBayPoint=-76392.7903621, 931.640361443, 69432.1411
  57. #pers.AddBayPoint=-77226.7815714, 932.134043412, 67912.4388
  58. #pers.AddBayPoint=-80903.432048, 930.154812849, 67043.845
  59. #pers.AddBayPoint=-87931.4914835, 931.914836803, 66960.075
  60. #pers.AddBayPoint=-96978.6259705, 929.289814233, 67383.396
  61. #pers.AddBayPoint=-98334.241998, 931.336597073, 69086.004
  62.  
  63. sec2kngt=Bladex.GetSector(-70000, -5000, 85000)
  64.  
  65. sec2kngt.OnEnter=Despierta2kngt
  66.  
  67.     
  68.     
  69.  
  70. Bladex.AddScheduledFunc(Bladex.GetTime(),RagnarInicio,())
  71.  
  72. ############################################
  73.  
  74.  
  75. ApagalaSec4 = Bladex.GetSector(-65082.6396779, -319.785933817, 77606.801)
  76. ApagalaSec4.OnEnter = Apagala4
  77.  
  78.  
  79.  
  80. ########################
  81. ### Tejados que resbalan
  82. ########################
  83.  
  84. Bladex.GetSector(-122026, -13441, 25155).TooSteep=1
  85. Bladex.GetSector(-120580, -2000, 58000).TooSteep=1
  86. Bladex.GetSector(-120580, -2000, 52200).TooSteep=1
  87.